body {
    margin: 0;
    font-family: 'Georgia', serif;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    background-color: #000; /* Fallback color if neither video nor image loads */
}


.quote-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: #fff;
}

.quote {
    font-family: 'Georgia', serif;
    font-size: 1.5em;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.highlight {
    font-family: 'Dancing Script', cursive; /* Apply cursive font */
    font-size: 1.5em;
    color: #fff; /* Keep text white */
    animation: pulse 4s infinite;
    animation-fill-mode: both; /* Keeps the final state of the animation */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.back-button {
    background-color: #f8d7d1;
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.back-button:hover {
    background-color: #f0e2b1;
}
